{% extends "main.html" %}

{% block title %}Register a new user{% endblock %}

{% block maincontent %}

<h1>注册新用户</h1>
<form action="/signup" method="POST">
<label for="username">用户名</label>
<input type="text" name="username" />
<label for="email">邮箱</label>
<input type="text" name="email" />
<label for="password">密码</label>
<input type="password" name="password" />
<label for="name">昵称</label>
<input type="text" name="name" />
<input type="submit" value="创建用户" />
</form>

{% endblock %}